﻿@{
    Layout = null;
    
}

<!DOCTYPE html>

<html>
<!-- 网页头部分布视图 -->
@Html.Partial("~/Views/Shared/HouTai_Header.cshtml")




<body>
    <script type="text/javascript">
    $(function () {
        $("#showable-close").click(function () {
            $("#yin").hide();
        });
        $("#showable-open").click(function () {
            $("#yin").show();
        });

    })
    </script>


    <!-- 网页导航菜单分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_DaoHang.cshtml")

    <div class="container">
        <div class="row">

            <!-- 网页左侧菜单分布视图 -->
            @Html.Partial("~/Views/Shared/HouTai_Left_Menu_Course.cshtml")
            <div class=" col-md-10">
                <div class="panel panel-default panel-page">
                    <div class="panel-heading"><h2>创建训练营</h2></div>
                    <form action="/Class/AddClass" data-widget-cid="widget-0" novalidate="novalidate" id="classroom-create-form" class="form-horizontal" method="post">

                        <div class="form-group has-error">
                            <div class="col-md-3 control-label">
                                <label for="classroom_title" class="required">训练营名称</label>
                            </div>
                            <div class="col-md-8 controls">
                                <input id="classroom_title" name="CTName" required="required" class="form-control" data-widget-cid="widget-1" data-explain="" type="text">
                          
                                <div class="help-block" style=""><span class="text-danger">请输入训练营名称</span></div>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-md-3 control-label">
                                <label>训练营展示</label>
                            </div>
                            <div id="create-classroom" class="col-md-8 controls radios">
                                <label>
                                    <input id="showable-open" name="CTShow" value="1" checked="checked" type="radio"> 开启
                                </label>
                                <label>
                                    <input id="showable-close" name="CTShow" value="0" type="radio"> 关闭
                                </label>
                                <div class="help-block">关闭后，训练营将彻底隐藏，无法在前台查看到。</div>
                            </div>
                        </div>
                        <div class="form-group" id="yin">
                            <div id="buyable">
                                <div class="col-md-3 control-label">
                                    <label>训练营购买</label>
                                </div>
                                <div class="col-md-8 controls radios">
                                    <label>
                                        <input id="buyable-open" name="CTBuy" value="1" checked="checked" type="radio"> 开启
                                    </label>
                                    <label>
                                        <input id="buyable-close" name="CTBuy" value="0" type="radio"> 关闭
                                    </label>
                                    <div class="help-block">关闭后训练营将无法在线购买加入。</div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-md-offset-3 col-md-8 controls">
                                <input id="classroom-create-btn" data-submiting-text="正在创建" class="btn btn-fat btn-primary" value="创建" type="submit">
                            </div>
                        </div>
                        <input name="_csrf_token" value="5806f0a99015a07cb1e6075d0b479191b9031925" type="hidden">
                    </form>
                </div>
            </div>
        </div>
    </div>

    <script>
  var app = {};
  app.debug = false;
  app.version = '6.9.3';
  app.httpHost = 'http://www.zhishile.com';
  app.basePath = '';
  app.theme = 'jianmo';
  app.themeGlobalScript = 'theme/global-script';
  app.jsPaths = {"common":"common","theme":"\/themes\/jianmo\/js","customwebbundle":"\/bundles\/customweb\/js","customadminbundle":"\/bundles\/customadmin\/js","topxiawebbundle":"\/bundles\/topxiaweb\/js","topxiaadminbundle":"\/bundles\/topxiaadmin\/js","classroombundle":"\/bundles\/classroom\/js"};

  app.crontab = '/common/crontab';

  var CKEDITOR_BASEPATH = app.basePath + '/assets/libs/ckeditor/4.6.7/';

  app.config = {"api":{"weibo":{"key":""},"qq":{"key":""},"douban":{"key":""},"renren":{"key":""}},"cloud":{"video_player":"http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/GrindPlayer.swf","video_player_watermark_plugin":"http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Watermake-1.0.3.swf","video_player_fingerprint_plugin":"http:\/\/cdn.staticfile.org\/GrindPlayerCN\/1.0.2\/Fingerprint-1.0.1.swf"},"loading_img_path":"\/assets\/img\/default\/loading.gif?6.9.3"};

  app.arguments = {};
      app.controller = 'classroombundle/controller/classroom-admin/classroom';

  app.scripts = null;

  app.uploadUrl = '/file/upload';
  app.imgCropUrl = '/file/img/crop';
  app.lessonCopyEnabled = '0';

  app.mainScript = '/bundles/topxiaadmin/js/admin-app.js?6.9.3';
    </script>
    <script src="/assets/libs/seajs/seajs/2.2.1/sea.js?6.9.3"></script>
    <script src="/assets/libs/seajs/seajs-style/1.0.2/seajs-style.js?6.9.3"></script>
    <script src="/assets/libs/seajs-global-config.js?6.9.3"></script>
    <script>
  seajs.use(app.mainScript);
    </script>  <div id="modal" class="modal"></div>
    <div class="fixed-bar">
        <a href="/admin/feedback" target="_blank" class="icon-question-text feedback">
            <i class="es-icon es-icon-help"></i>
            <span>产品<br>反馈</span>
        </a>
    </div>


</body>
</html>

